package com.zyuan.lawyerport.view.aModule;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.zyuan.lawyerport.R;
import com.zyuan.lawyerport.view.aModule.activity.BuyServiceActivity;
import com.zyuan.lawyerport.view.aModule.activity.ConsultingMsgActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import common.base.activity.BaseActivity;
import common.base.fragment.BaseFragment;
import common.plugins.tbs.WebCoreAction;
import es.dmoral.toasty.Toasty;

/**
 * description 首页模块
 * Created by JustTong on 2018/11/28.
 */
public class ModuleAFragment extends BaseFragment {


    @Override
    public void init() {

    }

    @Override
    public int setLayout() {
        return R.layout.fragment_home_layout;
    }

    @OnClick({R.id.home_ll_advisory_msg, R.id.home_ll_buy_service})
    public void noClick(View v) {
        switch (v.getId()) {
            case R.id.home_ll_advisory_msg:
                startActivity(new Intent(getContext(), ConsultingMsgActivity.class));
                break;
            case R.id.home_ll_buy_service:
                startActivity(new Intent(getContext(), BuyServiceActivity.class));
                break;
        }
    }

    @Override
    public void initLoadStart() {

    }

    @Override
    public void initLoadEnd() {

    }

    @Override
    public void initBindingView(Object mBean) {

    }
}
